home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-05
/
wait4f.zip
/
WAIT4FIL.DOC
< prev
Wrap
Text File
|
1991-12-05
|
2KB
|
44 lines
WAIT4FIL - Utility
Key Words: LAN UTILITY BATCH WAIT PAUSE FILE NETWORK DOS TIME MINUTE SECOND
Description: This is a LAN utility. It's FUNCTION is USELESS unless
operated on a LAN.
Often, in corporate environments, one computer is assigned
"one-particular-task" and nothing else. That one computer often
waits and waits for a specific file to be copied or created on
one of the shared disk drives. When the file appears, that one
computer begins it's processing of the file.
This is a Network Friendly utility, meaning, when a Batch
program enters a loop to repeated query the network every few
clock ticks waiting looking for a file, this activity causes a
GREAT AMOUNT OF NETWORK TRAFFIC! This utility is designed to
dramatically reduce LAN traffic associated with this function.
============== The below is displayed if the utility is =======================
============== run without command line parameters ============================
LAN batch utility to wait for a specified file to appear. To reduce network
traffic, the utility makes use of a PAUSE feature and only looks for the
specified file every X seconds. After looking for a predetermined length of
of time (and not finding the specified file) the utility automatically aborts.
Syntax> WAIT4FIL filename seconds limit
Filename: is the file (path optional) expected to appear (REQUIRED)
Seconds: is a value between 1 and 3,600 seconds (1 hour) to wait before
looking for the file again (Optional: Defaults to 60 seconds)
Limit: is a value between 1 and 86,400 seconds (24 hours) to continue
looking before giving-up and aborting the wait
(Optional: defaults to no limit)
Notes: ■ The program stops and returns to DOS when the file appears
■ The program stops and ERRORLEVEL 1 is set if LIMIT is reached
■ The program stops and ERRORLEVEL 2 is set if an <ESC> is pressed
======================== Screen reprint ======================================